package org.ens.delegation.dao;

import java.util.List;
import org.ens.delegation.bo.Agent;


public interface IAgentDao extends IGenericDao<Agent, Integer>{
     
    public List<Agent> findByFilters(String orderCol,String orderDir,String numDoti,String cin,String nomFr,String nomAr,String dateNaiss
                    ,String dateTit,String etablissement);
    
    public List<Agent> findByFiltersWithFirstMaxResult(int first,int max,String orderCol,String orderDir,String numDoti,String cin,String nomFr,String nomAr,String dateNaiss
                    ,String dateTit,String etablissement);
        
    public Integer getRowCountByFilters(String numDoti,String cin,String nomFr,String nomAr,String dateNaiss
                    ,String dateTit,String etablissement);
}
